#ifndef CONFIG_H
#define CONFIG_H
#define gamewidth  480
#define gameheight 700
#define title "飞机大战"
#define gamerespath "./plane.rcc "
#define gameicon ":/res/me2.png"
#define gamerate 10


#define mappath ":/res/background.png"
#define mapscrollspeed 2
#define HERO_PATH ":/res/me2.png"
#define HERO_SPEED 25
#define BULLET_PATH ":/res/bullet2.png"
#define BULLET_SPEED 5
#define BULLET_NUM 20
#define BULLET_INTERVAL 30

#define ENEMY_PATH ":/res/enemy1.png"
#define ENEMY_SPEED 5
#define ENEMY_NUM 20
#define ENEMY_INTERVAL 30

#define ENEMY2_PATH ":/res/enemy2.png"
#define ENEMY2_SPEED 3
#define ENEMY2_BOMB_PATH ":/res/enemy2_down%1.png"
#define ENEMY2_BOMB_NUM 90
#define ENEMY2_NUM 90
#define ENEMY2_INTERVAL 10

#define BOMBPATH ":/res/enemy1_down%1.png"
#define BOMBNUM 20
#define HEROBOMBPATH ":/res/me_destroy_%1.png"
#define BOMBMAX 4
#define BOMB_INTERVAL 20
#define wordsize 16

#define PAUSE ":/res/pause_pressed.png"
#define RESUME ":/res/resume_pressed.png"

#define LIFE_PATH ":/res/life.png"
#define TOTALLIVES 3

#define RESTARTBUTTON_PATH ":/res/again.png"
#endif // CONFIG_H
